package com.tinywind.Sword.Dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.tinywind.Sword.Entity.TodoEntity;
import com.tinywind.Sword.Entity.TodoFilter;

public interface TodoDao {
		
	List<TodoEntity> search(TodoFilter filter);
	
	Integer insert(TodoEntity entity);
	
	int getTotalCount(TodoFilter filter);

	
	void update(TodoEntity entity);

	//删除指定idtodo.
	void delete(@Param("id") long id);
	
}
